package com.xltt.vehicleControl.bean;

import java.io.Serializable;

/**
 * @author zhaotengfei
 * @version 1.0.0
 * @created 2017/4/20 17:24
 */

public class RunningStatus implements Serializable {
    private Integer engineOilLevelStatus;
    private Integer engineOilTemperature;
    //机油压力报警
    private Integer engineOilPressureWarning;
    private Float engineCoolantTemperature;
    private Integer engineCoolantLevelStatus;
    private Float fuelLevel;
    private Integer fuelLevelPct;
    private Integer fuelLevelStatus;
    //百公里油耗
    private Float aveFuelConsumption;
    private Integer aveFuelConsumptionInLatestDrivingCycle;
    //平均速度
    private Integer avgSpeed;
    private Integer tripMeter1;
    private Integer tripMeter2;
    private Integer bulbStatus;
    public static final int ENGINE_OIL_PRESSURE_NO_WARNING = 0;
    public static final int ENGINE_OIL_PRESSURE_WARNING = 1;

	//以下均为v2新添
    //v2最后一次平均速度(0-511)
    private String avgSpeedLatestDrivingCycle;
    //    左后转向灯故障(0:无故障1:有故障)
    private String indcrTurnLeWarning;
    //    右后转向灯故障
    private String indcrTurnRiWarning;
    //    副驾侧转向灯故障
    private String indcrTurnOnPassSideWarning;
    //    主驾侧转向灯故障
    private String indcrTurnOnDrvrSideWarning;
    //    左前转向灯故障
    private String indcrTurnLeFrntWarning;
    //    右前转向灯故障
    private String indcrTurnRiFrntWarning;
    //    后雾灯故障
    private String fogLiReWarning;

//    低油量报警（液位低于红色指示液位）
    private String fuelLow1WarningDriver;
//    油量低（液位低于黄色色指示液位）
    private String fuelLow2WarningDriver;
//    发动机燃油液位
    private String fuelEnLevel;
//    发动机燃油率
    private String fuelEnCnsFild;
//    发动机喷油信息
    private String fuelEnCns;
//    瞬时油耗
    private String indFuelConsumption;


    public RunningStatus() {
    }

    public Integer getBulbStatus() {
        return this.bulbStatus;
    }

    public void setBulbStatus(Integer bulbStatus) {
        this.bulbStatus = bulbStatus;
    }

    public Integer getEngineOilLevelStatus() {
        return this.engineOilLevelStatus;
    }

    public void setEngineOilLevelStatus(Integer engineOilLevelStatus) {
        this.engineOilLevelStatus = engineOilLevelStatus;
    }

    public Integer getEngineOilTemperature() {
        return this.engineOilTemperature;
    }

    public void setEngineOilTemperature(Integer engineOilTemperature) {
        this.engineOilTemperature = engineOilTemperature;
    }

    public Integer getEngineOilPressureWarning() {
        return this.engineOilPressureWarning;
    }

    public void setEngineOilPressureWarning(Integer engineOilPressureWarning) {
        this.engineOilPressureWarning = engineOilPressureWarning;
    }

    public Float getEngineCoolantTemperature() {
        return this.engineCoolantTemperature;
    }

    public void setEngineCoolantTemperature(Float engineCoolantTemperature) {
        this.engineCoolantTemperature = engineCoolantTemperature;
    }

    public Integer getEngineCoolantLevelStatus() {
        return this.engineCoolantLevelStatus;
    }

    public void setEngineCoolantLevelStatus(Integer engineCoolantLevelStatus) {
        this.engineCoolantLevelStatus = engineCoolantLevelStatus;
    }

    public Float getFuelLevel() {
        return this.fuelLevel;
    }

    public void setFuelLevel(Float fuelLevel) {
        this.fuelLevel = fuelLevel;
    }

    public Integer getFuelLevelStatus() {
        return this.fuelLevelStatus;
    }

    public void setFuelLevelStatus(Integer fuelLevelStatus) {
        this.fuelLevelStatus = fuelLevelStatus;
    }

    public Integer getFuelLevelPct() {
        return fuelLevelPct;
    }

    public void setFuelLevelPct(Integer fuelLevelPct) {
        this.fuelLevelPct = fuelLevelPct;
    }

    public Float getAveFuelConsumption() {
        return this.aveFuelConsumption;
    }

    public void setAveFuelConsumption(Float aveFuelConsumption) {
        this.aveFuelConsumption = aveFuelConsumption;
    }

    public Integer getAveFuelConsumptionInLatestDrivingCycle() {
        return this.aveFuelConsumptionInLatestDrivingCycle;
    }

    public void setAveFuelConsumptionInLatestDrivingCycle(Integer aveFuelConsumptionInLatestDrivingCycle) {
        this.aveFuelConsumptionInLatestDrivingCycle = aveFuelConsumptionInLatestDrivingCycle;
    }

    public Integer getAvgSpeed() {
        return this.avgSpeed;
    }

    public void setAvgSpeed(Integer avgSpeed) {
        this.avgSpeed = avgSpeed;
    }

    public Integer getTripMeter1() {
        return this.tripMeter1;
    }

    public void setTripMeter1(Integer tripMeter1) {
        this.tripMeter1 = tripMeter1;
    }

    public Integer getTripMeter2() {
        return this.tripMeter2;
    }

    public void setTripMeter2(Integer tripMeter2) {
        this.tripMeter2 = tripMeter2;
    }

    public boolean isEngineOilNormal() {
        return this.engineOilPressureWarning == null || this.engineOilPressureWarning.intValue() == 0;
    }

    public String getAvgSpeedLatestDrivingCycle() {
        return avgSpeedLatestDrivingCycle;
    }

    public void setAvgSpeedLatestDrivingCycle(String avgSpeedLatestDrivingCycle) {
        this.avgSpeedLatestDrivingCycle = avgSpeedLatestDrivingCycle;
    }

    public String getIndcrTurnLeWarning() {
        return indcrTurnLeWarning;
    }

    public void setIndcrTurnLeWarning(String indcrTurnLeWarning) {
        this.indcrTurnLeWarning = indcrTurnLeWarning;
    }

    public String getIndcrTurnRiWarning() {
        return indcrTurnRiWarning;
    }

    public void setIndcrTurnRiWarning(String indcrTurnRiWarning) {
        this.indcrTurnRiWarning = indcrTurnRiWarning;
    }

    public String getIndcrTurnOnPassSideWarning() {
        return indcrTurnOnPassSideWarning;
    }

    public void setIndcrTurnOnPassSideWarning(String indcrTurnOnPassSideWarning) {
        this.indcrTurnOnPassSideWarning = indcrTurnOnPassSideWarning;
    }

    public String getIndcrTurnOnDrvrSideWarning() {
        return indcrTurnOnDrvrSideWarning;
    }

    public void setIndcrTurnOnDrvrSideWarning(String indcrTurnOnDrvrSideWarning) {
        this.indcrTurnOnDrvrSideWarning = indcrTurnOnDrvrSideWarning;
    }

    public String getIndcrTurnLeFrntWarning() {
        return indcrTurnLeFrntWarning;
    }

    public void setIndcrTurnLeFrntWarning(String indcrTurnLeFrntWarning) {
        this.indcrTurnLeFrntWarning = indcrTurnLeFrntWarning;
    }

    public String getIndcrTurnRiFrntWarning() {
        return indcrTurnRiFrntWarning;
    }

    public void setIndcrTurnRiFrntWarning(String indcrTurnRiFrntWarning) {
        this.indcrTurnRiFrntWarning = indcrTurnRiFrntWarning;
    }

    public String getFogLiReWarning() {
        return fogLiReWarning;
    }

    public void setFogLiReWarning(String fogLiReWarning) {
        this.fogLiReWarning = fogLiReWarning;
    }

    public String getFuelLow1WarningDriver() {
        return fuelLow1WarningDriver;
    }

    public void setFuelLow1WarningDriver(String fuelLow1WarningDriver) {
        this.fuelLow1WarningDriver = fuelLow1WarningDriver;
    }

    public String getFuelLow2WarningDriver() {
        return fuelLow2WarningDriver;
    }

    public void setFuelLow2WarningDriver(String fuelLow2WarningDriver) {
        this.fuelLow2WarningDriver = fuelLow2WarningDriver;
    }

    public String getFuelEnLevel() {
        return fuelEnLevel;
    }

    public void setFuelEnLevel(String fuelEnLevel) {
        this.fuelEnLevel = fuelEnLevel;
    }

    public String getFuelEnCnsFild() {
        return fuelEnCnsFild;
    }

    public void setFuelEnCnsFild(String fuelEnCnsFild) {
        this.fuelEnCnsFild = fuelEnCnsFild;
    }

    public String getFuelEnCns() {
        return fuelEnCns;
    }

    public void setFuelEnCns(String fuelEnCns) {
        this.fuelEnCns = fuelEnCns;
    }

    public String getIndFuelConsumption() {
        return indFuelConsumption;
    }

    public void setIndFuelConsumption(String indFuelConsumption) {
        this.indFuelConsumption = indFuelConsumption;
    }
}

